package com.oig.sys.workflow.dao;

import com.oig.sys.workflow.entity.TbListenerObject;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

/**
 * @author wuxl
 */
public interface ITbListenerObjectDao extends JpaRepository<TbListenerObject, Integer>, JpaSpecificationExecutor<TbListenerObject> {

	@Query("from TbListenerObject l where l.id=:id")
	TbListenerObject getLOById(@Param("id") Integer id);

}
